package com.xianzhiOA.bean;/**
 * Created by Administrator on 2017/5/26.
 */

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 权限表
 *
 * @author 王诗博
 * @create 2017-05-26 15:13
 **/
public class Xzpower {

    private Long powerId;
    private String powerName;
    private String  powerNo;
    private String  superNo;
    private Integer powerType;
    private String powerCode;
    private String field1;
    private String field2;
    private String field3;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deleteTime;
    private  Integer isdelete;
    private  Date    createTime;
    private Long realPowerId;
    private String PowerLevelId;

    public Long getPowerId() {
        return powerId;
    }

    public void setPowerId(Long powerId) {
        this.powerId = powerId;
    }

    public String getPowerName() {
        return powerName;
    }

    public void setPowerName(String powerName) {
        this.powerName = powerName;
    }

    public String getPowerNo() {
        return powerNo;
    }

    public void setPowerNo(String powerNo) {
        this.powerNo = powerNo;
    }

    public String getSuperNo() {
        return superNo;
    }

    public void setSuperNo(String superNo) {
        this.superNo = superNo;
    }

    public Integer getPowerType() {
        return powerType;
    }

    public void setPowerType(Integer powerType) {
        this.powerType = powerType;
    }

    public String getPowerCode() {
        return powerCode;
    }

    public void setPowerCode(String powerCode) {
        this.powerCode = powerCode;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getRealPowerId() {
        return realPowerId;
    }

    public void setRealPowerId(Long realPowerId) {
        this.realPowerId = realPowerId;
    }

    public String getPowerLevelId() {
        return PowerLevelId;
    }

    public void setPowerLevelId(String powerLevelId) {
        PowerLevelId = powerLevelId;
    }



    @Override
    public String toString() {
        return "Xzpower{" +
                "powerId=" + powerId +
                ", powerName='" + powerName + '\'' +
                ", powerNo='" + powerNo + '\'' +
                ", superNo='" + superNo + '\'' +
                ", powerType=" + powerType +
                ", powerCode='" + powerCode + '\'' +
                ", field1='" + field1 + '\'' +
                ", field2='" + field2 + '\'' +
                ", field3='" + field3 + '\'' +
                ", deleteTime=" + deleteTime +
                ", isdelete=" + isdelete +
                ", createTime=" + createTime +
                ", realPowerId=" + realPowerId +
                ", PowerLevelId='" + PowerLevelId + '\'' +
                '}';
    }
}
